from collections.abc import Mapping, MutableMapping

# dict属于mapping类型
a = {}
print(isinstance(a, MutableMapping))


